<?php

class BorsaController extends Zend_Controller_Action
{

    public function init()
    {
        $this->_helper->layout()->setLayout('layout-front');
    }

    public function indexAction()
    {
//         $productesMapper = new Application_Model_ProductosMapper();
//         $this->view->entries = $productesMapper->fetchAll('tipo_registro = "B"');
		$productesMapper = new Application_Model_BorsaMapper();
		$this->view->entries = $productesMapper->fetchAll();
		
		        
        $this->view->buscador = "<h2>- Salvador Asbert</h2><p>ConsectetuerL ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.</p>";
        $this->view->jsHeaderView = "$('#mnuOfertesDemandes').addClass('selected');";
    }
}

